* {
    box-sizing: border-box;
}

/* 版心 */
.w {
    width: 1280px;
    margin: 0 auto;
}

/* 顶部 */
header {
    height: 74px;
    width: 100%;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

header .w {
    /* background-color: orange; */
    height: 74px;
    display: flex;
    align-items: center;
    position: relative;
}

header .w a img {
    margin-left: -20px;

}

header .w .login {
    height: 74px;
    background-color: #024137;
    width: 193px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    line-height: 74px;
    font-size: 18px;
    position: relative;
}

header .w .login .down {
    height: 191px;
    width: 194px;
    background-color: #024137;
    z-index: 20;
    position: absolute;
    /* display: flex;
    justify-content: space-around; */
    display: none;

}

header .w .login .down span {
    position: absolute;
    font-size: 50px;
    left: 18px;
    top: 10px;
}

header .w .login .down .dl {
    height: 30px;
    width: 80px;
    display: block;
    color: #fff;
    font-size: 27px;
    line-height: 230px;
    margin-left: 7px;
}

header .w .login .down .zc {
    height: 30px;
    width: 80px;
    display: block;
    color: #fff;
    font-size: 27px;
    line-height: 230px;
    color: gray;
    position: absolute;
    right: 15px;
    top: 0px
}

header .w .login .down .address {
    position: absolute;
    bottom: -20px;
    left: 20px;
    color: #fff;
    font-size: 12px;
}

header .w .txt1 {
    width: 456px;
    height: 46px;
    border-radius: 50px;
    display: block;
    border: #024137 2px solid;
    padding-left: 75px;
    margin-left: 98px;
}

header .w .small {
    position: absolute;
    margin-left: 500px;
}

header .w ul {
    display: flex;
    width: 268px;
    height: 15px;
    justify-content: space-between;
    align-items: center;
    margin-left: 30px;
}

header .w ul li a {
    color: #8f8a8c;
    font-size: 14px;
}

header .w ul li:hover a {
    color: #024137;
}

header .w .box1 {
    height: 207px;
    width: 417px;
    background-color: #fff;
    position: absolute;
    z-index: 100;
    top: 60px;
    left: 456px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 3px 5px rgb(93, 92, 92);
    display: none;
}

header .w .box1 .inside {
    width: 340px;
    height: 150px;
    /* background-color: skyblue; */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 10px 20px;
}

header .w .box1 .inside h5 {
    font-size: 18px;
    color: #024137;
    border-bottom: 1px solid #024137;
    padding-bottom: 10px;
}

header .w .box1 .inside .ul2 {
    width: 100%;
    height: 20px;
    margin-left: 0px;
    padding-bottom: 10px;
    display: flex;
}

header .w .box1 .inside .ul2>li {
    width: 60px;
    height: 15px;
    font-size: 13px;
    color: gray;
    margin-right: 15px;
}

header .w .box1 .inside ol {
    display: flex;
    color: gray;
}

header .w .box1 .inside ol>li a {
    display: block;
    width: 30px;
    height: 20px;
    font-size: 14px;
    margin-right: 10px;
    color: gray;
}

header .w .box1 .inside ol>li a:hover {
    color: #024137;
}

/* main */
main {
    background-color: rgb(245, 245, 245);
    height: 100%;
}

main .w {
    height: 694px;
    width: 1280px;
}

main .w .roof {
    /* background: pink; */
    height: 694px;
    width: 1280px;
    display: flex;
    justify-content: space-between;
}

main .w .list {
    height: 64px;
    /* background-color: orange; */
    width: 100%;
    display: flex;
    line-height: 64px;
}

main .w .list .title1 {
    margin-left: 25px;
    font-size: 17px;
    height: 25px;
    color: gray;
    padding-bottom: 10px;
    position: relative;
    cursor: pointer
}
main .w .list .title1 ol{
    height: 160px;
    width: 120px;
    position: absolute;
    z-index: 8;
    left: -20px;
    top:64px;
    text-align: center;
    display: none;
    box-shadow: 0px 1px 1px gray;
    background-color: #fff;
    
}
main .w .list .title1 ol>li{
        height: 26px;
        color: gray;
        margin-bottom: 10px;
}
main .w .list .title1 ol>li:hover{
    background-color: #024137;
    transition: all 0.7s;
}
main .w .list .title1 ol>li>a:hover{
    color: #fff;
}
main .w .list .title1 ol>li>a{
    color: gray;
    font-size: 14px;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 26px;
}
main .w .roof .topleft {
    width: 600px;
    height: 630px;
    /* background-color: cornflowerblue; */
}
/* 放大镜 */
main .w .roof .topleft #box{
    height: 500px;
    width: 500px;
    /* border: 3px solid red; */
    position: relative;
}
main .w .roof .topleft #leftbox{
    width: 500px;
    height: 500px;
    position: absolute;
    /* background-color: orange; */
    left: -3px;
    top: -3px;
    /* background: url(../img/scalepic1.jpg); */
    /* opacity: 0; */
    border: 1px solid rgb(213, 213, 213);
    background-size: 500px 500px;
}
main .w .roof .topleft #rightbox{
    width: 500px;
    height: 500px;
    position: absolute;
    left: 540px;
    top: -3px;
    /* background-color: blue; */
    background: url(../img/scalepic1.jpg);
    background-size: 1000px 1000px;
    display: none;
}
main .w .roof .topleft #mask{
    width: 250px;
    height: 250px;
    background-color: rgb(16, 78, 16);
    opacity: 0.4;
    position: absolute;
    display: none;
}
.topleft>#box>.ul2{
    position: absolute;
    bottom: -10px;
    top: 110%;
    display: flex;
    width: 100%;
    margin-left: 90px;
}
.topleft>#box>.ul2>li{
    width: 40px;
    height: 40px;
    margin: 0 20px;
}
.active{
    border: 1px solid #024137;
}
.ul2>li>img{
    width: 100%;
    height: 100%;
    display: block;
}
/* ----------------------------- */
main .w .roof .topleft .scalepic {
    height: 55px;
    width: 325px;
    /* background-color: darkgreen; */
    margin-left: 100px;
    margin-top: 15px;
}

main .w .roof .topleft .scalepic>img {
    width: 55px;
}

main .w .roof .topright {
    width: 630px;
    height: 517px;
    /* background-color: rgb(251, 162, 249); */
}

main .w .roof .topright .title {
    font-size: 35px;
    height: 96px;
}

main .w .roof .topright .price {
    font-size: 40px;
    height: 73px;
    border-bottom: 1px solid #024137;
    padding-bottom: 8px;
}

main .w .roof .topright .size {
    height: 25px;
    margin-top: 15px;
}

main .w .roof .topright .size>span:nth-child(1) {
    font-size: 14px;
    color: gray;
}

main .w .roof .topright .size>span:nth-child(2) {
    height: 25px;
    background-color: #024137;
    width: 156px;
    font-size: 14px;
    padding: 2px 5px;
    margin-left: 3px;
}

main .w .roof .topright .size>span:nth-child(2)>a {
    color: #fff;
}

main .w .roof .topright .count>span:nth-child(1) {
    font-size: 14px;
    color: gray;
}

main .w .roof .topright .count {
    margin-top: 15px;
    display: flex;
}

main .w .roof .topright .count .counts {
    height: 28px;
    width: 90px;
    border-radius: 5px;
    border: 1px solid #024137;
    margin-top: 15px;
    background-color: rgb(255, 255, 255);
    display: block;
    display: flex;
    margin-top: -5px;
    margin-left: 8px;
}

main .w .roof .topright .count .counts>#txt1 {
    width: 20px;
    outline: none;
    height: 20px;
    margin-top: 2px;
    color: gray;
    text-align: center;
    line-height: 20px;
}

main .w .roof .topright .count .counts>.txt2 {
    width: 46px;
    outline: none;
    height: 20px;
    text-align: center;
    margin-top: 2px;
}

main .w .roof .topright .count .counts>.txt3 {
    width: 20px;
    outline: none;
    height: 20px;
    color: gray;
    text-align: center;
    line-height: 20px;
    margin-top: 2px;
}

main .w .roof .topright .point {
    color: gray;
    font-size: 14px;
    display: flex;
    margin-top: 15px;
}

main .w .roof .topright .point>span:nth-child(2)>a {
    color: rgb(255, 255, 255);
    display: block;
    height: 30px;
    width: 90px;
    background-color: #024137;
    text-align: center;
    line-height: 30px;
    margin-left: 10px;
}

main .w .roof .topright .share {
    height: 33px;
    display: flex;
    margin-top: 15px;
}

main .w .roof .topright .share>span:nth-child(1) {
    color: gray;
    font-size: 14px;
}

main .w .roof .topright .share>span:nth-child(2) {
    display: block;
    height: 32px;
    margin-left: 15px;
    margin-top: -3px;
}

main .w .roof .topright .buy {
    height: 80px;
    width: 630px;
    display: flex;
    margin-top: 15px;
}

main .w .roof .topright .buy .purchase {
    height: 100%;
    width: 216px;
    background-color: #024137;
    text-align: center;
    line-height: 80px;
}

main .w .roof .topright .buy .purchase>a {
    color: #fff;
    font-size: 20px;
    display: block;
    height: 100%;
    width: 100%;
}

/* 底部 */
footer {
    height: 509px;
    background-color: #024137;
}

footer {
    width: 100%;
    height: 500px;
}

.box {
    width: 100%;
    height: 500px;
    background-color: #024137;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer_1 {
    width: 300px;
    height: 300px;
}

.qqq>img {
    width: 300px;
}

.code {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code_left {
    float: left;
}

.code_right {
    width: 240px;
    float: right;
    font-size: 12px;
    color: #fff;
}

.code_right {
    width: 260px;
}


.footer_1_f1 {
    width: 300px;
    height: 100px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_1_f1>img {
    width: 50px;
    height: 50px;
}

.footer_1_f1>div>p {
    color: #fff;
    font-size: 12px;
}


.footer_2 {
    width: 300px;
    height: 300px;
    margin-right: 50px;
}

.footer_2_top {
    width: 300px;
    height: 150px;
}

.footer_2_bottom {
    width: 300px;
    height: 150px;
    display: flex;
    justify-content: space-around;
}

.footer_2_bottom p {
    color: #fff;
    font-size: 12px;
    padding-left: 10px;
}

.footer_3 {
    width: 240px;
    height: 300px;
}

.lianxi {
    font-size: 14px;
    color: #fff;
    margin-top: 90px;
}

.footer_3>P {
    color: rgba(255, 255, 255, 0.436);
    font-size: 12px;
    padding-top: 6px;
}

.footer_4 {
    width: 100px;
    height: 300px;
}

.footer_4>ul {
    margin-top: 78px;
}

.footer_5>ul {
    margin-top: 78px;
}

.footer_4>ul>a>li {
    color: #c4cdcb;
    font-size: 12px;
    padding-top: 8px;
}

.footer_5>ul>a>li {
    color: #c4cdcb;
    font-size: 12px;
    padding-top: 8px;
}

#huiyuan {
    font-size: 14px;
    color: #fff;
}

.footer_5 {
    width: 100px;
    height: 300px;
}

/* 回顶 */
#backtop>img {
    height: 60px;
    width: 60px;
    position: fixed;
    right: 30px;
    top: 500px;
    z-index: 3;
}

/* service */
.service {
    height: 60px;
    width: 60px;
    display: block;
    background-color: #024137;
    position: fixed;
    z-index: 5;
    right: 30px;
    top: 430px;
    border-radius: 50%;
}

.service>img {
    position: fixed;
    right: 43px;
    top: 445px;
    color: #fff;
    height: 30px;
    width: 30px;
}